﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Presentation.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        [Authorize]
        public ActionResult Index()
        {
            return View();
            //return RedirectToAction("Index", "Portfolio");
        }

        [Authorize]
        public ActionResult Guest()
        {
            return View();
        }

        [Authorize(Roles = "admins")]
        public ActionResult Admin()
        {
            return View();
        }
    }
}
